package HttpFile;

public class AppHttpServer {	
	
	public static void main(String[] args) throws Exception {
		int port=8866;
		if(args!=null && args.length>0) {
			port=Integer.valueOf(args[0]);
		}
		String url= "/";
		if(args!=null && args.length>1) {
			url=args[1];
		}
      
		new HttpFileServer().run(port,url); 
	}

}
